<?php
class ModelInviterInviter extends Model{
/*
 * CREATE TABLE IF NOT EXISTS `1_invite_mails` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) NOT NULL,
  `mail` varchar(255) NOT NULL,
  `validate` int(11) NOT NULL,
  PRIMARY KEY (`user_id`),
  UNIQUE KEY `id` (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author S.ahmet
 */



    public function addemail($email){
		
		$query = $this->db->query("INSERT INTO " . DB_PREFIX . "invite_mails (mail) VALUES ('$email')"); 
        
        
        
    }
    
    
    
}

?>
